package com.potato.rxjavademo.observer_model

import android.util.Log

class UserPerson :Observer{
    private var name:String?=null
    constructor(name:String){
        this.name =name
    }
    override fun update(mssage: Any) {
        Log.e("TAG","$name----$mssage")
    }
}